<?php 
$contentmodules=$model;
?>
<div class='contentheader'>
<?= sigi::addbox(array(array('title'=>'add Template', 'link'=>CONTDIR.'pagetemplate/form/input')))?>
<h1>alle Pagetemplates </h1>
</div>

<?php
foreach($contentmodules->find_all() as $cm){
	echo '<div class="pages_item">';
	echo sigi::actionbox_small('pagetemplate', $cm->id);
	echo '<h1>'.$cm->title.'</h1>';
	echo '<p>'.$cm->description.'</p>';
	echo '</div>';				
}




?>